package com.smfx.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.CardSignMapper;
import com.smfx.yxt.model.CardSign;
import com.smfx.yxt.service.ICardSignService;

@Service("cardSignService")
public class CardSignServiceImpl implements ICardSignService {

	@Autowired
	private CardSignMapper cardSignMapper;
	
	@Override
	public int insertSelective(CardSign record) {
		return cardSignMapper.insertSelective(record);
	}

	@Override
	public CardSign selectByPrimaryKey(Integer id) {
		return cardSignMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(CardSign record) {
		return cardSignMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int selectCountForToday(CardSign record) {
		return cardSignMapper.selectCountForToday(record);
	}

	@Override
	public List<CardSign> selectListForToday(CardSign record) {
		return cardSignMapper.selectListForToday(record);
	}

}
